<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
%>
<h2 class="contentTitle"> 更新客户信息</h2>


<div class="pageContent">
	
	<form method="post" action="<c:url value="/client/update.do"/>" class="pageForm required-validate" method="post" enctype="multipart/form-data"  onsubmit="return iframeCallback(this,navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="97">
<input type="hidden" name="id" value="${client.id}" maxlength="50" class="required"/>
			<dl>
				<dt>客户名：</dt>
				<dd>
					<input type="text" name="name" value='${client.name}'  maxlength="50" class="required" alt="请输入客户名"/>
					
				</dd>
			</dl>
			<dl>
				<dt> 地址：</dt>
				<dd>
					<input type="text" name="address" value='${client.address}'  class="required" alt="请输入客户地址"/>
				
				</dd>
			</dl>
			
			<dl>
				<dt>联系电话：</dt>
				<dd>
					<input type="text" name="phone" value='${client.phone}'  class="required" alt="请输入联系电话"/>
					
				</dd>
			</dl>
			<dl>
				<dt>所属区域：</dt>
				<dd>
				<input type="hidden" name="area.id"  value="${client.area.id}"/>
				<input type="text" name="area.name"  value="${client.area.name}" readonly class="required" alt="请选择片区"/>	
						<a class="btnLook" href="<c:url value="/area/lookuplist.do"/>" lookupGroup="area">查找带回</a>	
				</dd>
			</dl>
			
			<dl>
				<dt>备注：</dt>
				<dd>
					<input type="text" name="remark"  value='${client.remark}'  class="required" />
				
				</dd>
			</dl>
			
			
			<div class="divider"></div>
		
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

